<%@page trimDirectiveWhitespaces="true"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@taglib uri="http://www.springframework.org/tags" prefix="spring"%>
<c:if test="${not empty error}">
 <div class="errorblock">
  <spring:message code="error.login" />
 </div>
</c:if>

<form name='f' action="<%=request.getContextPath()%>/j_spring_security_check" method='POST'>
 <table>
  <tr>
   <td>User:</td>
   <td><input type='text' name='j_username' value=''></td>
  </tr>
  <tr>
   <td>Password:</td>
   <td><input type='password' name='j_password' /></td>
  </tr>
  <tr>
   <td colspan='2'><input name="submit" type="submit" value="Login" class="login_button" /></td>
  </tr>
  <tr>
   <td colspan='2'><input name="reset" type="reset" /></td>
  </tr>
 </table>

</form>